package com.gome.ocean.service.websql;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.Page;
import com.gome.ocean.dao.model.websql.GUserFrequentlySql;

/**
 * @author liyuefeng
 */
public interface SqlHandleService {

    boolean saveUserSql(GUserFrequentlySql frequentlySql);

    List<GUserFrequentlySql> getUserFrequentlySqlByParam(Map<String, Object> param);

    boolean removeUserSql(Long id);

    GUserFrequentlySql getGUserFrequentlySqlById(Long id);

    boolean updateByPrimaryKeySelective(GUserFrequentlySql record);

    Page<GUserFrequentlySql> getUserFrequentlySqlByParam(int pageNum, int pageSize, Map<String, Object> param);
}
